package com.example.musicplayer.entity;

public class MusicList {
    // 数据库列名
    public static final String MUSIC_LIST_ID = "_id";
    public static final String MUSIC_LIST_NAME = "name";

    // 实体类成员变量
    private Integer id;    // 歌单id
    private String name;   // 歌单名称
    private Integer count; // 歌单中的歌曲数量

    // 构造函数
    public MusicList(Integer id, String name, Integer count) {
        this.id = id;
        this.name = name;
        this.count = count;
    }


    // getter和setter方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
